Skip to content

chore: add root-level .gitattributes for cross-platform consistency#2659

Open
Hobie1Kenobi wants to merge 1 commit into
coinbase:mainfrom
Hobie1Kenobi:swarm-bounty-2657-e87fdbd8
Open

chore: add root-level .gitattributes for cross-platform consistency#2659
Hobie1Kenobi wants to merge 1 commit into
coinbase:mainfrom
Hobie1Kenobi:swarm-bounty-2657-e87fdbd8

Conversation

@Hobie1Kenobi
Copy link
Copy Markdown

What changed?

Added a root-level .gitattributes file to standardize line ending normalization and binary file handling across Windows, Linux, and macOS environments.

Why?

As noted in #2657, the repository currently does not define a .gitattributes file, which means contributors on different platforms may introduce inconsistent line endings. This can lead to unnecessary diffs, merge conflicts, and formatting issues.

What's included

  • Text normalization: * text=auto enables automatic line ending detection
  • LF enforcement: All source code (.js, .ts, .jsx, .tsx, .mjs, .cjs, .mts, .cts), web files (.html, .css, .scss, .svg), config files (.json, .yml, .yaml, .md, .env), shell scripts, GitHub Actions workflows, and lock files are set to use eol=lf
  • Binary handling: Common binary formats (images, fonts, archives) are explicitly marked as binary to prevent corruption

Closes #2657

Base payout address: 0x408f39B19266022FeC03076091e59D1f4f163658

Autonomous completion by Agentic Swarm Marketplace worker.

@vercel
Copy link
Copy Markdown

vercel Bot commented May 24, 2026

Someone is attempting to deploy a commit to the Coinbase Team on Vercel.

A member of the Team first needs to authorize it.

@cb-heimdall
Copy link
Copy Markdown

cb-heimdall commented May 24, 2026

🟡 Heimdall Review Status

Requirement Status More Info
Reviews 🟡 0/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
2 if repo is sensitive 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 0
Sum 1

@Hobie1Kenobi Hobie1Kenobi force-pushed the swarm-bounty-2657-e87fdbd8 branch from a49dbf5 to a90536e Compare May 24, 2026 18:05
Co-authored-by: Cursor <cursoragent@cursor.com>
@Hobie1Kenobi Hobie1Kenobi force-pushed the swarm-bounty-2657-e87fdbd8 branch from a90536e to 9637520 Compare May 25, 2026 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Add root-level .gitattributes for cross-platform consistency

2 participants